// eslint-disable-next-line import/no-extraneous-dependencies
const shell = require('shelljs');

const pkg = require('./package.json');

const date = +new Date();

shell.exec('yarn build');
shell.exec('yarn docs');
shell.exec('yarn docs:md-api');

shell.exec('git add .');
shell.exec(`git commit -m ${pkg.version}.${date}`);
shell.exec('git push');
